import request from '@/utils/request'
import base from '@/api/base'

export const getHomeData = function ({ dateVal, typeVal }) {
    return request({
        method: 'get',
        url: base.WU + '/statistic/fenceStayTime',
        params: {
            dayCount: dateVal,
            employType: typeVal
        }
    })
}